package com.LearnInWorld.video.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

/**
 * 模块表
 */
@Data
@Table(name = "tb_module")
public class Module {
    @Id
    //主键自增
    @Column(name = "tb_id")
    private long tbId;
    //模块名字
    @Column(name = "module_name")
    private String moduleName;
    //模块id
    @Column(name = "module_id")
    private long moduleId;
    //分类信息
    List<Category> categoryList;
}
